package org.qq.util;

import java.net.Socket;
import java.util.ArrayList;
import java.util.HashMap;
import org.qq.bean.User;

/**
 * 
 * project_name:QQ
 * package_name:org.qq.util
 * file_name:AllData.java
 * @author Link
 * create_date:2015年8月28日 下午4:41:45
 * modified_date:
 * description: 存储用户信息集合
 *
 */
public class ServerAllData {

	public static ArrayList<User> userList = new ArrayList<User>();
	public static HashMap<Socket,String> mapList = new HashMap<Socket,String>();//存储Socket和其对应的账号昵称
	public static HashMap<String,Socket> nameToSocket = new HashMap<String, Socket>();//存储账号对应的Socket
	public static HashMap<Socket,String> nameList = new HashMap<Socket, String>();//存储socket和对应的帐号
	public static HashMap<String,String> nameToNickName = new HashMap<String, String>();//存储在线用户账号对应的昵称
	public static ArrayList<Socket> socket = new ArrayList<Socket>();//存储socket集合
	public static ArrayList<String> onlineName = new ArrayList<String>();//存储在线用户账号 

}
